﻿using System;
using System.Collections.Generic;

namespace BlockMe.Model
{
    public class Post
    {
        public string Title { get; set; }
        public DateTime PublishDate { get; set; }
        public DateTime ModifyDate { get; set; }
        public PostStatus Status { get; set; }
        public string Author { get; set; }
        public uint PostID { get; set; }
        public int AuthorID { get; set; }
        public string Content { get; set; }
        public List<Tag> Tags { get; set; }
        public List<Category> Categories { get; set; }
        public List<Comment> Comments { get; set; }
    }

    public enum PostStatus : byte
    {
        Published,
        Draft,
        Trash
    }
}
